const { Tray } = require('electron')
const EnvContext = require('../../common/context/EnvContext');
const { getAllTrayPlugin } = require('../../core/pluginSearchService/getAllTrayPlugin')
const { createTray } = require('../winService/baseWinService/createTray')
const { createAsyncTask } = require('../../common/utils/threadUtil')

exports.doCreateTray = function () {
    getAllTrayPlugin().then((plugins) => {
        plugins.map(plugin => {
            createAsyncTask(createTray(plugin))
        })
    })
}



